import request from '@/utils/request';

/**
 * 根据父ID查询所有子地址
 * @param parentId
 */
export function listAddressByParent(parentId: number) {
  return request({
    url: `/pro/address/parent/${parentId}`,
    method: 'get'
  });
}
